﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NowEval.aspx.cs" Inherits="manager_depteval_NowEval" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>当月部门考评</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <section class="content-header">
        <h1>考评相关
            <small>当月部门考评</small>
        </h1>
        <ol class="breadcrumb">
            <li><a><i class="fa fa-dashboard"></i>主页</a></li>
            <li><a href="userManager.aspx">考评相关</a></li>
            <li class="active">当月部门考评</li>
        </ol>
    </section>

    <section class="content">

        <div class="box box-primary">
            <div class="box-header with-border">
                <h3 class="box-title">当月部门考评查看，需要查看历史请点击“历史”。</h3>
            </div>
            <div class="box-body">
                <table id="userManagerList" class="table table-bordered table-striped">
                    <thead>
                        <tr>
                            <th></th>
                            <th>岗位名称</th>
                            <th>考评日期</th>
                            <th>年度任务</th>
                            <th>月度任务</th>
                            <th>临时任务</th>
                            <th>特殊扣分</th>
                            <th>考评总分</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <asp:Repeater ID="rptDeApply_1" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td><%# Eval("id") %></td>
                                    <td>【<%# Eval("mc") %>】<%# Eval("userName") %></td>
                                    <td><%# Eval("year") %>年<%# Eval("month") %>月</td>
                                    <td><%# Eval("task_zx_s_0") %>|<%# Eval("task_zx_p_0") %></td>
                                    <td><%# Eval("task_zx_s_1") %>|<%# Eval("task_zx_p_1") %></td>
                                    <td><%# Eval("task_zx_s_2") %>|<%# Eval("task_zx_p_2") %></td>
                                    <td><%# Eval("special") %></td>
                                    <td><%# Eval("task_zx_p_zz") %></td>
                                    <td><a href="../eval/View.aspx?psid=<%# Eval("psid") %>&Year=<%# Eval("year") %>&Month=<%# Eval("Month") %>" target="_blank">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../eval/MyEval.aspx?psid=<%# Eval("psid") %>&Year=<%# Eval("year") %>&Month=<%# Eval("Month") %>" target="_blank">历史</a></td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="Server">
    <script>
        $(document).ready(function () {
            $("#userManagerList").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
        });
    </script>
</asp:Content>

